/*****************************************************************************************
   
   Copyright (c) Microsoft Corporation. All rights reserved.

   Use of this code sample is subject to the terms of the Microsoft
   Permissive License, a copy of which should always be distributed with
   this file.  You can also access a copy of this license agreement at:
   http://www.microsoft.com/resources/sharedsource/licensingbasics/permissivelicense.mspx

 ****************************************************************************************/

using System;

namespace GrooveWebServicesV12Helpers
{
	/// <summary>
	/// Summary description for MessageContact.
	/// </summary>
	public class MessageContact
	{
		private GrooveWebServicesV12Helpers.Account m_Account;

		private GrooveMessagesWebService.MessageContact m_MessageContact;

		public MessageContact(GrooveWebServicesV12Helpers.Account i_Account, GrooveMessagesWebService.MessageContact i_MessageContact)
		{
			m_Account = i_Account;
			m_MessageContact = i_MessageContact;
		}

		#region MessageContact Properties And Methods

		public GrooveWebServicesV12Helpers.Account Account
		{
			get
			{
				return m_Account;
			}
		}

		public string Name
		{
			get
			{
				return m_MessageContact.Name;
			}
		}

		public string URI
		{
			get
			{
				return m_MessageContact.URI;
			}
		}

		#endregion

	}
}
